import maya.cmds as mc

import sys
sys.path.append(r'U:\RiggerAdderMenu\THS')

import createVisibility
reload(createVisibility)


class  THS_scripts_win(createVisibility.CreateVis):
    def __init__(self):
        pass
        
    def THS_UI(self):
        THS_UI = 'THS_welcome_everyone'
        if(mc.window(THS_UI,ex = True)):
            mc.deleteUI(THS_UI,window = True)
        else:
            pass
        mc.window(THS_UI,t = THS_UI ,s = False,tb = True,widthHeight=(300, 100))
        
        mc.columnLayout('main_columnLY',w=300)

        mc.button(l='create_vis' ,w=295,c= lambda i:self.Create_vis_UI( ))
        
        
        mc.window(THS_UI,t = 'createVIS',e=True,s = False,tb = True,widthHeight=(300, 120))
        mc.showWindow( THS_UI )